import request from '../index.js'
//客户选择列表
export const selectCustomer = data => {
    return request.get('/api/customerTrace/selectCustomer', data)
  }
  // 历史拜访记录
export const history = data => {
    return request.get('/api/customerTrace/history', data)
  }

  //获取客户表头
export const getCustomerHeader = data => {
    return request.get('/api/customerTrace/header', data)
}
//获取拜访记录

export const visitRecord = data => {
    return request.get('/api/customerTrace/visitRecord', data)
}
//在售品相
export const onSaleDetail = data => {
    return request.get('/api/customerTrace/onSaleDetail', data)
}
//历史订单
export const customerTraceOrders = data => {
    return request.get('/api/customerTrace/orders', data)
}
//陈列拍照

export const customerTracePhoto = data => {
    return request.get('/api/customerTrace/photo', data)
}
//欠款列表
export const getDebtList = data => {
    return request.get('/api/customerTrace/debtList', data)
}
//修改客户信息
export const headerEditCustomer = data => {
    return request.get('/api/customerTrace/headerEditCustomer', data)
}
